package com.javajun.endofterm.repository;

import com.javajun.endofterm.common.CommonRepository;
import com.javajun.endofterm.entity.SysUser;
import org.springframework.stereotype.Repository;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * Author: Xiong Limin
 * Date: 2020-12-05-6:41 下午
 */
@Repository
public interface SysUserRepository extends CommonRepository<SysUser, Integer> {

    SysUser findByUsername(String username);

    SysUser findByEmail(String email);

}
